
const table='t_task'
const obj=require('../model-base/abase')(table)

obj.getLast=async ()=>{
  let ret=await obj.findBySql('SELECT * FROM t_task ORDER BY createtime DESC LIMIT 0,1')
  return ret[0]
}
exports.obj = obj